<?xml version="1.0" encoding="ISO-8859-1"?>
<ui:composition template="/resources/templates/cadastro.xhtml"
                xmlns:ui="http://java.sun.com/jsf/facelets"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:f="http://java.sun.com/jsf/core"
                xmlns:richfaces="http://richfaces.ajax4jsf.org/rich"
    			xmlns:rich="http://richfaces.org/rich"
    			xmlns:a4j="http://richfaces.org/a4j">
	
	<ui:define name="acao"/>
	
	<ui:define name="conteudo">  
<rich:panel style="width:100%" id="painelCadastro">
			<f:facet name="header">  
                <h:outputText value="Login" />  
            </f:facet>  
					<h:panelGroup >
					<h:panelGrid columns="2">
					    <h:outputText value="Login:"  />
						<h:inputText id="inputLogin" value="#{loginMB.usuario.login}" />
						<h:outputText value="Senha:"  />
						<h:inputSecret id="inputSenha" value="#{loginMB.usuario.senha}" />
					<h:commandButton action="#{loginMB.logar}" value="Login" />
					
				</h:panelGrid>
					</h:panelGroup>
</rich:panel>
	</ui:define>
	
</ui:composition>

